﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Utility;
using Data;

namespace DataAccess
{
    public class Tbl_FaqBus
    {
        LinqUtility<tbl_faq> context = new LinqUtility<tbl_faq>();
        public List<tbl_faq> getListFaq()
        {
            return context.GetAll();
        }
        public void insertFaq(tbl_faq tf)
        {
            context.Insert(tf);
        }
        public void updateFaq(tbl_faq tf)
        {
            context.Update(tf);
        }
        public void deleteFaq(tbl_faq tf)
        {
            context.Delete(tf);
        }
        
    }
}
